import Notification from './notification'

let msgInstance
function getIntance () {
  msgInstance = msgInstance || Notification.newInstance()
  return msgInstance
}
function info ({ duration = 2, content = '' }) {
  let ins = getIntance()
  ins.add({ duration, content }
  )
}

export default {
  info
}
